﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Bank
{
    public partial class Choice : Form
    {
        public static AccWork AccForm;   //标识账务业务处理界面
        public static ATMwork ATMForm;   //标识ATM事务处理界面

        public Choice()
        {
            InitializeComponent();
        }

        private void backBtn_Click(object sender, EventArgs e)
        {
            this.Close();
            Login.logForm.Show();
        }

        //账户事务按钮
        private void accBtn_Click(object sender, EventArgs e)
        {
            this.Hide();
            AccForm = new AccWork();
            AccForm.Show();
        }

        //ATM事务按钮
        private void ATMBtn_Click(object sender, EventArgs e)
        {
            this.Hide();
            ATMForm = new ATMwork();
            ATMForm.Show();
        }

        private void Choice_Load(object sender, EventArgs e)
        {
            this.ControlBox = false;
        }
    }
}
